<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico" />
<link href="user/css/UserCenter.css?v=<?=WEB_VERSION?>" rel="stylesheet" type="text/css" />
<script src="user/js/jquery-1.7.1.min.js?v=<?=WEB_VERSION?>" type="text/javascript" language="javascript"></script>
<script src="user/js/UserWin.min.js?v=<?=WEB_VERSION?>" type="text/javascript" language="javascript"></script>
<title>100课堂英语学习会员中心</title>
</head>
<body>
<?include('userTop.php')?>
<div class="CenterAuto">
	<?
    include('userLeft.php')
    ?>
    
    <div class="CenterRight">
		<?
	    include('userMenu.php')
	    ?>    
    <form action="user_subUpdateUserInfo.htm" method="post" name="FoUser">
    	<dl class="U_priver">
    		<?if(empty($_SESSION['user']['openid'])){?>
        	<dt>
            <p>E-mail地址：</p>
            <p>英文名或者昵称：</p>
            <p>Skype ID：</p>
            <p>QQ号码：</p>
            <p>手机号码：</p>
            </dt>
            <dd><?=$_SESSION['user']['email']?></dd>
            <dd><input type="text" name="english_name"  value="<?=$userInit['english_name']?>"/>&nbsp;&nbsp;*仅限字母。便于老师上课称呼您。</dd>
            <dd><input name="skype_id" type="text"  value="<?=$userInit['skype_id']?>"/></dd>
            <dd><input name="qq" type="text"  value="<?=$userInit['qq']?>"/></dd>
            <dd >
             <?if($userInit['real_phone']=='1'){?>
            	<input type="text" name="phone" id="phone"  value="<?=$userInit['phone']?>"/>
				<input type="button" name="code_verify" id="code_verify" value="验证手机" style="background:#A5C94B; margin-right:2px;  color:#fff;">
            	<?}else{?>
           	 <?=$userInit['phone']?>(已通过手机验证)
             <?}?>
            </dd>
            <div class="clearc"></div>
            <?}else{?>
         	<dt>
            <p>E-mail地址：</p>
            <p>英文名或者昵称：</p>
            <p>Skype ID：</p>
            <p>QQ昵称：</p>
            <p>QQ号码：</p>
            <p>手机号码：</p>
            </dt>
            <dd><input type="text" name="email"  value="<?=$userInit['email']?>"/></dd>
            <dd><input type="text" name="english_name"  value="<?=$userInit['english_name']?>"/>&nbsp;&nbsp;*仅限字母。便于老师上课称呼您。</dd>
            <dd><input name="skype_id" type="text"  value="<?=$userInit['skype_id']?>"/></dd>
            <dd><?=$_SESSION['user']['nickname']?></dd>
            <dd><input name="qq" type="text"  value="<?=$userInit['qq']?>"/></dd>
            <dd >
             <?if($userInit['real_phone']=='1'){?>
            	<input type="text" name="phone" id="phone"  value="<?=$userInit['phone']?>"/>
            	<?}else{?>
           	 <?=$userInit['phone']?>(已通过手机验证)
             <?}?>
            </dd>
             <?if($userInit['real_phone']=='1'){?>
            <p style="margin-top:5px;display:inline-block">
            <dd id="CODE" style="">
                 <input type="text" name="code" id="code" value=""  size="10"  style="width:100px; height:24px; border:1px solid #ccc; line-height:24px;">
				 <input type="button" name="sms_code" id="sms_code" value="获取验证码" style="width:100px;height:30px;background:#A5C94B; margin-right:2px; padding:3px 10px; color:#fff;">
            </dd>
            </p>
            <?}?>
            <div class="clearc"></div>           	
            <?}?>
        </dl>
         <input class="PublicPrice" type="submit" value="点击保存修改">
     </form>
    </div>
    <div class="clearc"></div>
</div>
<script type="text/javascript" src="user/js/user_info.min.js?v=<?=WEB_VERSION?>"></script>
<?include('userFoot.php')?>	 
</body>
</html>
